Ext.define('DragonApp.store.MenuTree', {
    extend: 'Ext.data.TreeStore',

    alias: 'store.menuTreeStore',

    root: {
      expanded: true,
      children: [
        { text: '玩家数据查询', expanded: true,
          iconCls: 'x-fa fa-user',
          children: [
            { text: '基本信息',   classname:'basic',    leaf: true  },
            { text: '指挥官信息', classname:'hero',     leaf: true  },
            { text: '佣兵信息',   classname:'monster',  leaf: true  },
            { text: '背包信息',   classname:'pack',     leaf: true  },
            { text: '玩家日志',   classname:'journal',  leaf: true  }
        ]},
        { text: '运营数据查询', expanded: true,
          iconCls: 'x-fa fa-line-chart',
          children: [
            { text: '基本数据',        classname:'base',    leaf: true  },
            { text: '订单数据',        classname:'order',   leaf: true  },
            { text: '多级分布与流失',  classname:'level',   leaf: true  },
            { text: '消费点统计',      classname:'consumptionpoint', leaf: true  }
        ] },
        { text: 'GM工具', expanded: true,
          iconCls: 'x-fa fa-wrench',
          children: [
            { text: '发道具及邮件', classname: 'property',    leaf: true },
            { text: '标签管理',     classname: 'resource',    leaf: true },
            { text: '公告管理',     classname: 'notice',      leaf: true },
            { text: '广播聊天',     classname: 'broadcast',   leaf: true },
            { text: '封号禁言',     classname: 'ban',         leaf: true },
            { text: '白名单管理',   classname: 'white',       leaf: true },
            { text: '礼包码管理',   classname: 'gift',        leaf: true }
        ]},
        { text: '后台管理', expanded: true,
          iconCls: 'x-fa fa-database',
          children: [
            { text: '后台账号',    classname:'systemuser',    leaf: true },
            { text: '任务日志',    classname:'cron',          leaf: true },
            { text: '后台日志',    classname:'operalog',      leaf: true }
        ]}
      ]
    }
 });